package com.nf;

public class Car {
    public Car(){
        System.out.println("Car的实例被创建了");
    }

    private String brand;
    private Float price;

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
